﻿namespace ICommonLibrary.Json {

    public abstract class JsonValue {

        public virtual JsonArray IsArray() {
            return null;
        }

        public virtual JsonBoolean IsBoolean() {
            return null;
        }

        public virtual JsonNull IsNull() {
            return null;
        }

        public virtual JsonNumber IsNumber() {
            return null;
        }

        public virtual JsonObject IsObject() {
            return null;
        }

        public virtual JsonString IsString() {
            return null;
        }

        public abstract string ToJsonString();

    }
}